/*    */
package com.liang.manage.auth.facade.dto.role;
/*    */
/*    */

import java.io.Serializable;
/*    */ import java.util.List;

/*    */
/*    */ public class RolePermissionsInDTO
        /*    */ implements Serializable
        /*    */ {
    /*    */   private Integer roleId;
    /*    */   private List<Integer> permissionsIds;
    /*    */   private static final long serialVersionUID = 1L;

    /*    */
    /*    */
    public Integer getRoleId()
    /*    */ {
        /* 17 */
        return this.roleId;
        /*    */
    }

    /*    */
    /*    */
    public List<Integer> getPermissionsIds() {
        /* 21 */
        return this.permissionsIds;
        /*    */
    }

    /*    */
    /*    */
    public void setRoleId(Integer roleId)
    /*    */ {
        /* 12 */
        this.roleId = roleId;
    }

    /* 12 */
    public void setPermissionsIds(List<Integer> permissionsIds) {
        this.permissionsIds = permissionsIds;
    }

    /* 12 */
    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof RolePermissionsInDTO)) return false;
        RolePermissionsInDTO other = (RolePermissionsInDTO) o;
        if (!other.canEqual(this)) return false;
        Object this$roleId = getRoleId();
        Object other$roleId = other.getRoleId();
        if (this$roleId == null ? other$roleId != null : !this$roleId.equals(other$roleId)) return false;
        Object this$permissionsIds = getPermissionsIds();
        Object other$permissionsIds = other.getPermissionsIds();
        return this$permissionsIds == null ? other$permissionsIds == null : this$permissionsIds.equals(other$permissionsIds);
    }

    /* 12 */
    protected boolean canEqual(Object other) {
        return other instanceof RolePermissionsInDTO;
    }

    /* 12 */
    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $roleId = getRoleId();
        result = result * 59 + ($roleId == null ? 43 : $roleId.hashCode());
        Object $permissionsIds = getPermissionsIds();
        result = result * 59 + ($permissionsIds == null ? 43 : $permissionsIds.hashCode());
        return result;
    }

    /* 12 */
    public String toString() {
        return "RolePermissionsInDTO(roleId=" + getRoleId() + ", permissionsIds=" + getPermissionsIds() + ")";
    }
    /*    */
    /*    */
}

/* Location:           C:\maven\maven3.5\maven3.5\repositor\io\github\maliangnansheng\nansheng-common\3.3.4\nansheng-common-3.3.4.jar
 * Qualified Name:     com.liang.manage.auth.facade.dto.role.RolePermissionsInDTO
 * JD-Core Version:    0.6.2
 */